package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.HandCertificateBasicInfoDao;
import io.renren.modules.generator.entity.HandCertificateBasicInfoEntity;
import io.renren.modules.generator.service.HandCertificateBasicInfoService;



@Service("handCertificateBasicInfoService")
public class HandCertificateBasicInfoServiceImpl implements HandCertificateBasicInfoService {
	@Autowired
	private HandCertificateBasicInfoDao handCertificateBasicInfoDao;
	
	@Override
	public HandCertificateBasicInfoEntity queryObject(Integer id){
		return handCertificateBasicInfoDao.queryObject(id);
	}
	
	@Override
	public List<HandCertificateBasicInfoEntity> queryList(Map<String, Object> map){
		return handCertificateBasicInfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return handCertificateBasicInfoDao.queryTotal(map);
	}
	
	@Override
	public void save(HandCertificateBasicInfoEntity handCertificateBasicInfo){
		handCertificateBasicInfoDao.save(handCertificateBasicInfo);
	}
	
	@Override
	public void update(HandCertificateBasicInfoEntity handCertificateBasicInfo){
		handCertificateBasicInfoDao.update(handCertificateBasicInfo);
	}
	
	@Override
	public void delete(Integer id){
		handCertificateBasicInfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		handCertificateBasicInfoDao.deleteBatch(ids);
	}
	
}
